package com.lichuang.fruitvarietysm.goods.service.impl;

import com.lichuang.fruitvarietysm.goods.entity.GoodsDetailImg;
import com.lichuang.fruitvarietysm.goods.mapper.GoodsDetailImgMapper;
import com.lichuang.fruitvarietysm.goods.service.IGoodsDetailImgService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author shuaihang
 * @since 2019-06-05
 */
@Service
public class GoodsDetailImgServiceImpl extends ServiceImpl<GoodsDetailImgMapper, GoodsDetailImg> implements IGoodsDetailImgService {

    @Autowired
    GoodsDetailImgMapper goodsDetailImgMapper;


    @Override
    public List<GoodsDetailImg> sMiddle_img(Integer goods_id) {
        return goodsDetailImgMapper.sMiddle_img(goods_id);
    }

    @Override
    public List<GoodsDetailImg> sLarge_img(Integer goods_id) {
        return goodsDetailImgMapper.sLarge_img(goods_id);
    }
}
